package com.gxuwz.Market.business.entity;

/**
 * ServiceBranch entity. @author MyEclipse Persistence Tools
 */

public class ServiceBranch implements java.io.Serializable {

	// Fields

	private Integer id;
	private String parentId;
	private String sonId;
	private Integer branchType;
	private String sonKey;

	// Constructors

	/** default constructor */
	public ServiceBranch() {
	}

	/** full constructor */
	public ServiceBranch(String parentId, String sonId, Integer branchType, String sonKey) {
		this.parentId = parentId;
		this.sonId = sonId;
		this.branchType = branchType;
		this.sonKey = sonKey;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getSonId() {
		return this.sonId;
	}

	public void setSonId(String sonId) {
		this.sonId = sonId;
	}

	public Integer getBranchType() {
		return this.branchType;
	}

	public void setBranchType(Integer branchType) {
		this.branchType = branchType;
	}

	public String getSonKey() {
		return this.sonKey;
	}

	public void setSonKey(String sonKey) {
		this.sonKey = sonKey;
	}

}